<!--{include(pe_tpl('header.html'));}-->
<div class="right_page">
	<div class="now">
		<a href="admin.php?mod=pay&state=success" <!--{if($_g_state=='success'):}-->class="sel"<!--{endif;}-->>已支付（{$tongji['success']}）<i></i></a>
		<a href="admin.php?mod=pay&state=wpay" <!--{if($_g_state=='wpay'):}-->class="sel"<!--{endif;}-->>待支付（{$tongji['wpay']}）<i></i></a>
		<div class="clear"></div>
	</div>
	<div class="right_main">
		<div class="search">
			<form method="get">
				<input type="hidden" name="mod" value="{$_g_mod}" />
				<input type="hidden" name="state" value="{$_g_state}" />
				交易编号：<input type="text" name="id" value="{$_g_id}" class="inputtext input150 mar5" />
				订单编号：<input type="text" name="order_id" value="{$_g_order_id}" class="inputtext input150 mar5" />
				订单名称：<input type="text" name="order_name" value="{$_g_order_name}" class="inputtext input200 mar5" />
				用户账号：<input type="text" name="user_name" value="{$_g_user_name}" class="inputtext input100" />
				<input type="submit" value="搜索" class="input_btn" />
			</form>
		</div>
		<form method="post" id="form">
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="list">
		<tr>
			<th class="bgtt" width="120">创建日期</th>
			<th class="bgtt" width="200">交易编号</th>
			<th class="bgtt" width="">订单名称</th>
			<th class="bgtt" width="100">实付金额</th>
			<th class="bgtt" width="120">用户账号</th>
			<th class="bgtt" width="120">付款日期</th>
			<th class="bgtt" width="100">订单状态</th>
		</tr>
		<!--{foreach($info_list as $v):}-->
		<tr>
			<td>{pe_date_color(pe_date($v['order_atime']))}</span></td>
			<td>{$v['pay_id']}</td>
			<td class="left">{$v['order_name']}<!--{if($v['order_id']):}--><p class="mat5"><a href="admin.php?mod=order&id={$v['order_id']}" target="_blank" class="cblue">订单编号：{$v['order_id']}</a><!--{endif;}--></p></td>
			<td><span class="strong corg">{$v['order_money']}</span><p class="c999">{$v['order_payment_name']}</p></td>
			<td>{$v['user_name']}</td>
			<!--{if($v['order_state'] == 'success'):}-->
			<td>{pe_date_color(pe_date($v['order_ptime']))}</td>
			<td><span class="cgreen">已支付</span></td>
			<!--{else:}-->
			<td>-</td>
			<td><span class="cred">待支付</span></td>
			<!--{endif;}-->			
		</tr>
		<!--{endforeach;}-->
		</table>
		</form>
	</div>
	<div class="right_bottom">
		<span class="fr fenye">{$db->page->html}</span>
		<div class="clear"></div>
	</div>
</div>
<!--{include(pe_tpl('footer.html'));}-->